package com.itheima.common.exception;

import com.itheima.common.response.ResponseResult;

/**
 * @author ：mengw9
 * @date ：Created By 2020/9/18 9:31
 * @description：
 * @version:
 */

public class ExceptionCast {

    public static void cast(ResponseResult result){
        throw new BusinessException(result);
    }
}
